

import 'package:flutterdemo/day10/model/user_model.dart';
import 'package:flutterdemo/day10/viewmodel/counter_view_model.dart';
import 'package:flutterdemo/day10/viewmodel/user_view_model.dart';
import 'package:provider/provider.dart';
import 'package:provider/single_child_widget.dart';

List<SingleChildWidget> providers = [
  ChangeNotifierProvider(create: (ctx) => JKUserViewModel(UserModel('wc', 28, 'http://')),),
  ChangeNotifierProvider(create: (ctx) => JKCounterViewModel(),)
];